import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import Particles from 'particles.vue3'
import 'element-plus/dist/index.css'
import '../src/css/style.css'

import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import axios from "axios";

// import Echarts from "vue-echarts"
// import * as echarts from "echarts"

const app = createApp(App)

app.use(router)
app.use(ElementPlus )
app.use(Particles)

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
// app.component("v-chart", Echarts)
//
// app.config.globalProperties.$echarts = echarts

app.config.globalProperties.$http = axios

app.mount('#app')
